import App from './App'
import uView from "uview-ui";
Vue.use(uView);
import * as filters from "./utils/filters.js"; // global filter
Object.keys(filters).forEach((key) => {
	Vue.filter(key, filters[key]);
});
import projectList from '@/template/projectList.vue'
Vue.component('projectList', projectList);
import approveList from '@/template/approveList.vue'
Vue.component('approveList', approveList);
import allList from '@/template/allList.vue'
Vue.component('allList', allList);
import completeList from '@/template/completeList.vue'
Vue.component('completeList', completeList);
import auditPop from '@/template/auditPop.vue'
Vue.component('auditPop', auditPop);
import processCard from '@/template/processCard.vue'
Vue.component('processCard', processCard);

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif